package com.jinniulive.platform.tools;

import android.content.Context;

import org.xutils.http.RequestParams;


/**
 * Created by Administrater on 2016/12/8.
 */

public class HttpUtils {

    private static HttpUtils httpUtils;

    private HttpUtils() {

    }

    public static HttpUtils getHttpUtilsInstance(Context context) {
        if (httpUtils == null) {
            synchronized (HttpUtils.class) {
                if (httpUtils == null) {
                    httpUtils = new HttpUtils();
                }
            }
        }
        return httpUtils;
    }

    private RequestParams getRequestParams(String path) {
        return new RequestParams(path);
    }

    public void getForResult(String path) {

    }
}
